package org.teacher.service.impl;

import org.teacher.entity.Permission;
import org.teacher.mapper.PermissionMapper;
import org.teacher.service.IPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 张老师
 * @since 2024-09-10
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {
    /**
     * 获取菜单项
     * @date 2024/10/11
     * @author 赵海燕
     */
    public List<Permission> selectMenu(){
        return getBaseMapper().selectMenu();
    }
}
